//
//  TitleSegementView.h
//  WuJieLive
//
//  Created by iMac on 2017/11/15.
//  Copyright © 2017年 zhk. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^SelectBtnBlock)(NSInteger index);

@interface TitleSegementView : UIView

@property (nonatomic , strong) UIButton * segementBtn;
@property (nonatomic , copy) SelectBtnBlock selectedBlock;
@property (nonatomic , strong) UIView * lineView;
@property (nonatomic , strong) NSArray * titleArray;

-(instancetype)initWithFrame:(CGRect)frame andtitleArray:(NSArray *)array;

@end
